using System.Collections;
using System.Collections.Generic;
using System.Xml.Schema;
using UnityEngine;

public class Variables : MonoBehaviour
{

    int myInt = 5;
    float myFloat = 5.5f;

    void Start()
    {
        MuliplyByTwo(myInt, out myFloat);
        Debug.Log(myInt);
        Debug.Log(myFloat);

        //RaycastHit hit;
        //if (Physics.Raycast(xx,yy,out hit,Mathf.Infinity,LayerMask))
        //{

        //}
        //else
        //{

        //}
        //hit.collider
    }

    int MuliplyByTwo(int number, out float result1)
    {
        //number = 5;
        //number *= 2;
        //int result = number * 2;
        //return result;
        result1 = 2;
        result1 += 4.5f;

        int result = 5;
        result = result * 2;
        return result;
    }
}
